<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<f:view>

    <%@include file="../WEB-INF/jspf/cabecera.jspf" %>


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
         <link rel=stylesheet type="text/css" href="/cxc/style.css">
    </head>
    <body>
         <h1>"Registrar Estado de Letras"</h1>
      
         <h:form id="frmNew">

            <h:panelGrid columns="2">
                <h:outputLabel value="Nombre" for="nombre"/>
                <h:inputText value="#{EstadoLetraController.estadoLetra.nombre}"/>

                <h:outputLabel value="Estado" for="estado"/>
                <h:selectBooleanCheckbox value="#{EstadoLetraController.estadoLetra.estado}">
                </h:selectBooleanCheckbox>

                 <h:commandButton id="btnGuardar" value="Guardar"
                                  action="#{EstadoLetraController.guardar}"/>
                <h:commandButton id="btnCancelar" value="Cancelar"
                                 action="listar"/>

            </h:panelGrid>

         </h:form>
          <div class="centrar">
            <a href="#"><img src="/cxc/img/logo_ta_resize.png" border="0"/></a>
        </div>
   
    <%@include file="../WEB-INF/jspf/pie.jspf" %>

    </body>
</html>
</f:view>